﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;
using StudentHookups.WCF;

using System.Data;

namespace StudentHookups.Account.Profile
{
    public partial class ViewFriends : System.Web.UI.Page
    {
        WCFClient client = new WCFClient();

        protected void Page_Load(object sender, EventArgs e)
        {
             List<UserComposite> users = new List<UserComposite>();
            

            users = client.getFriends((Guid)Membership.GetUser().ProviderUserKey);
               
            
            DataSet ds = new DataSet();
            displayResults.DataSource = users;
            displayResults.DataBind();
        }
    }
}